xenpaging: move num_pages into xenpaging struct
authorOlaf Hering <olaf@aepfle.de>
Fri, 10 Jun 2011 08:47:22 +0000 (10:47 +0200)
committerOlaf Hering <olaf@aepfle.de>
Fri, 10 Jun 2011 08:47:22 +0000 (10:47 +0200)
commitfd1b11466ee8a3ddc78dee1696e6934b48e01939
tree225a285c5acacab81f2b70e411b311f0bd7a3ecb
parente897a5e81842d73b712036b437d31f981c871177
xenpaging: move num_pages into xenpaging struct

Move num_pages into struct xenpaging.
num_pages will be used by the policy in a subsequent patch.

Also remove a memset, the victims array is allocated with calloc.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
tools/xenpaging/xenpaging.c
tools/xenpaging/xenpaging.h